//  this library.
/// 订单详情类型
enum EntityTypeEnum {
  group,
  column,
  skuCode,
  industry,
  exam,
  category,
  product,
  ;

  const EntityTypeEnum();

  static EntityTypeEnum? getTypeEnum(String type) {
    var values = EntityTypeEnum.values;
    for (var value in values) {
      if (value.name == type) {
        return value;
      }
    }
    return null;
  }
}
